package com.itheima.demo01.Object;

public class Test02 {
    public static void main(String[] args) {
        String s1 = "abc";
        String s2 = "abc";
        System.out.println(s1.equals(s2));
        Student stu1=new Student("张三",23);
        Student stu2=new Student("张三",23);
        System.out.println(stu1.equals(stu2));
    }
}
